package top.syfy.api.jdcloud.joke.entity;

import java.io.Serializable;

/**
 * @author awg
 * @date 2020/10/30 星期五
 */
public class JokeDO implements Serializable {

    private static final long serialVersionUID = -1253758328498321128L;

    /**
     * ID
     */
    private String id;

    /**
     * 类型:1-动态搞笑图 2-图片笑话 3-文本笑话
     */
    private Integer type;

    /**
     * 标题
     */
    private String title;

    /**
     * 图片链接
     */
    private String img;

    /**
     * 创建时间, 格式yyyy-MM-dd
     */
    private String ct;

    public JokeDO() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getCt() {
        return ct;
    }

    public void setCt(String ct) {
        this.ct = ct;
    }

    @Override
    public String toString() {
        return "JokeDO{" +
                "id='" + id + '\'' +
                ", type=" + type +
                ", title='" + title + '\'' +
                ", img='" + img + '\'' +
                ", ct='" + ct + '\'' +
                '}';
    }
}
